function parseQuery(query) {
  // appid=2022090955&channel=10000&uid=1839698333&openid=oxbtr5fZbXnpyRreoMH5GHw5Kp70&time=1535534793&sign=964132a860c65268a819b5f29fe130b2
  const result = {}
  query.split('&').map(value => {
    return value.split('=')
  }).forEach(value => {
    result[value[0]] = value[1]
  })
  return result
}

console.log(parseQuery("appid=2022090955&channel=10000&uid=1839698333&openid=oxbtr5fZbXnpyRreoMH5GHw5Kp70&time=1535534793&sign=964132a860c65268a819b5f29fe130b2"));
